package com.easy.core.dbHandle;

import java.util.List;

/**
 * <p>Description: 分页工具类</p>
 * <p>CreateDate:@2013-8-20</p>
 * @author zhangj
 */
public class PaginationSupport<T> {
	
	public static final int PAGESIZE = 20;
	
	private int 	pageSize = PAGESIZE;		//每页条数
	private int 	totalCount;					//总数
	private List<T> items;						//list集合
	private int 	startIndex = 0;				
	
	public PaginationSupport(List<T> items, int totalCount, int pageSize, int startIndex) {
//		setPageSize(pageSize);
//		setTotalCount(totalCount);
//		setItems(items);
//		setStartIndex(startIndex);
	}
}
